package com.xxx.system.service;

import com.xxx.system.domain.Permission;
import com.xxx.system.query.MenuQuery;
import com.xxx.system.query.PermissionQuery;

import java.util.List;

public interface permissionService {
    List<Permission> findAll();
    Permission findOne(Long id);
    List<Permission> queryPage(PermissionQuery permissionQuery);
    void addPermission(Permission permission);
    void updatePermission(Permission permission);
    void deletePermissionById(Long id);
    void deletePermissionByIds(Long[] ids);
    Permission selectBySn(String permissionSn);
}
